testsuite: Don't be too exhaustive
authorBenjamin Otte <otte@redhat.com>
Sat, 11 Jul 2020 03:15:00 +0000 (05:15 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Jul 2020 18:43:16 +0000 (20:43 +0200)
The test was taking over 60s on CI, that's a but much.

testsuite/gtk/filterlistmodel-exhaustive.c

index 00be63ba085243b66ce0c20efdbfc9d054ebbda9..4bf54c1d571540a19b2a06f17391a89592e62b9e 100644 (file)
@@ -416,7 +416,7 @@ test_model_changes (gconstpointer model_id)
       if (add)
         {
           /* We want at least one element, otherwise the filters will see no changes */
-          GListModel *source = create_source_model (1, 100);
+          GListModel *source = create_source_model (1, 50);
           GtkFilterListModel *model1 = create_filter_list_model (model_id, source, multi);
           g_list_store_splice (store1,
                                position,